package com.iss.demo.dao;

import com.iss.demo.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CarOtherDao {

    @Select("select * from brand")
    public List<Brand> selectAllBrand();

    @Select("select * from color")
    public List<Color> selectAllColor();

    @Select("select * from drive")
    public List<Drive> selectAllDrive();

    @Select("select * from inflow")
    public List<Inflow> selectAllInflow();

    @Select("select * from Type")
    public List<Type> selectAllType();

}
